<!doctype html>
<html lang="zh-CN">

<head>
    <title>Service Difficulty Report</title>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.3, maximum-scale=1.0, user-scalable=yes,shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="shortcut icon" type="image/x-ico" href="favicon.ico" />
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="en/css/bootstrap.min.css">
    <link rel="stylesheet" href="en/css/all.min.css">
    <link rel="stylesheet" href="en/css/style.min.css">
    <link rel="stylesheet" href="layui/css/layui.css" media="all">
    <script src="layui/layui.js"></script>
    <script src="js/jquery-3.3.1.min.js"></script>
</head>

<body>
<div class="flex-container">
    <nav class="nav top-nav">
            <div class="container">
                <div class="row">
                   #include("language.html")
                </div>
            </div>
        </nav>
        <header class="masthead mb-auto">
            <div class="inner logo">
                <div class="webtitle">
                    <div class="title-h3 masthead-brand">国产飞机运营伙伴当局信息系统</div>
                    <div class="title-h4">Platform among CAAC MOU Partners for China-Made Aircraft</div>
                </div>
                #include("mainnav_en.html")
                <div class="search-form">
                    #include("searchhead.html")
                </div>
            </div>
            #include("menu_en.html")
        </header>
    <div class="container">
        <div class="page-title">Service Difficulty Report</div>
        <div class="row">
            <div class="col-3 left-bar">
                #include("srd_menu_en.html")
            </div>
            <div class="col-9 right-list">
                <h4 class="title-bar">1.Basic Information</h4>
                <div class="tab-content">
                    <div class="tab-pane active" id="tab1">
                    <form onsubmit="return submitdata('report_true');" id="form">
                    <table class="table form2">
                        <tr>
                            <td>Aircraft Register Number<span class="red">*</span></td>
                            <td>
                                <input type="text" required id="aircraft_registration_number" class="form-control" data-toggle="tooltip" data-placement="bottom" title="Enter the country code followed by as much of the registration number as possible, and for military aircraft just enter as much of the tail number as possible">
                            </td>
                            <td>Report Number</td>
                            <td><input type="text" id="report_number" class="form-control" data-toggle="tooltip" data-placement="bottom" value="#(OddNumbers ??)" disabled title="Input not allowed: A unique control number to be used as a reference to a particular SDR"></td>
                        </tr>
                        <tr>
                            <td>Operator Name<span class="red">*</span></td>
                            <td>
                                <input type="text" required id="air_operator" class="form-control" data-toggle="tooltip" data-placement="bottom">
                            </td>
                            <td>Operator Type</td>
                            <td>
                                <input type="text" id="type_operation" class="form-control" data-toggle="tooltip" data-placement="bottom" title="The type of the operator, including regular flight, specific task and other">
                            </td>
                        </tr>

                        <tr>
                            <td>Flight Number<span class="red">*</span></td>
                            <td>
                                <input type="text" required id="flight_code" class="form-control" data-toggle="tooltip" data-placement="bottom" title="During this flight, the difficulty occurred or was discovered">
                            </td>
                            <td>Difficulty Date<span class="red">*</span></td>
                            <td>
                                <input type="text" required id="date_occurrence" class="form-control" data-toggle="tooltip" data-placement="bottom" title="Date on which the service difficulty occurred or was discovered. Formatted as yy/mm/dd">
                            </td>
                        </tr>
                        <tr>
                            <td>Difficulty Stage<span class="red">*</span></td>
                            <td>
                                <select required id="occurrence_stage" class="custom-select" data-toggle="tooltip" data-placement="bottom">
                                    <option value="">Choose...</option>
                                    <option value="Ground">Ground</option>
                                    <option value="Taxi">Taxi</option>
                                    <option value="Take off">Take off</option>
                                    <option value="Climb">Climb</option>
                                    <option value="Cruise">Cruise</option>
                                    <option value="Descent">Descent</option>
                                    <option value="Approach">Approach</option>
                                    <option value="Landing">Landing</option>
                                    <option value="Unknown">Unknown</option>
                                    <option value="Hovering">Hovering</option>
                                </select>
                            </td>
                            <td>Difficulty Place<span class="red">*</span></td>
                            <td>
                                <input type="text" required id="place_occurrence" class="form-control" data-toggle="tooltip" data-placement="bottom" title="The place where the service difficulty occurred or was discovered for the first time">
                            </td>
                        </tr>
                        <tr>
                            <td>ATA Chapter<span class="red">*</span></td>
                            <td colspan="3">
                                <div class="form-row">
                                    <div class="col">
                                        <input type="text" required id="chapter1" class="form-control" data-toggle="modal" data-target="#myModal">
                                    </div>
                                    <div class="col">
                                        <input type="text" id="chapter2" class="form-control" data-toggle="modal" data-target="#myModal">
                                    </div>
                                    <div class="col">
                                        <input type="text" id="chapter3" class="form-control" data-toggle="modal" data-target="#myModal">
                                    </div>
                                    <div class="col">
                                        <input type="text" id="chapter4" class="form-control" data-toggle="modal" data-target="#myModal">
                                    </div>
                                    <div class="col">
                                        <input type="text" id="chapter5" class="form-control" data-toggle="modal" data-target="#myModal">
                                    </div>
                                </div>
                                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                                    <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg zj">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <h4 class="modal-title" id="myModalLabel">ATA Chapter</h4>
                                            </div>
                                            <div class="modal-body">
                                                <table class="table table-striped">
                                                    <thead>
                                                        <tr class="row">
                                                            <td class="col-2">set</td>
                                                            <td class="col-2">code</td>
                                                            <td class="col">name</td>
                                                        </tr>
                                                    </thead>
                                                    <tbody id="xzk">
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="TIME LIMIT/MAINTENACE CHECKS"></td>
                                                            <td class="col-2">05</td>
                                                            <td class="col"><label for="05">TIME LIMIT/MAINTENACE CHECKS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="DIMENSIONS AND AREAS"></td>
                                                            <td class="col-2">06</td>
                                                            <td class="col"><label for="06">DIMENSIONS AND AREAS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="LIFTING AND SHORING"></td>
                                                            <td class="col-2">07</td>
                                                            <td class="col"><label for="07">LIFTING AND SHORING</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="LEVELING AND WEIGHING"></td>
                                                            <td class="col-2">08</td>
                                                            <td class="col"><label for="08">LEVELING AND WEIGHING</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="TOWING AND TAXIING"></td>
                                                            <td class="col-2">09</td>
                                                            <td class="col"><label for="09">TOWING AND TAXIING</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="PARKING,MOORING,STORING"></td>
                                                            <td class="col-2">10</td>
                                                            <td class="col"><label for="10">PARKING,MOORING,STORING</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="PLACARDS AND MARKINGS"></td>
                                                            <td class="col-2">11</td>
                                                            <td class="col"><label for="11">PLACARDS AND MARKINGS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="SERVICING"></td>
                                                            <td class="col-2">12</td>
                                                            <td class="col"><label for="12">SERVICING</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="VIBRATION AND NOISE ANALYSIS(HELICOPTER ONLY)"></td>
                                                            <td class="col-2">18</td>
                                                            <td class="col"><label for="18">VIBRATION AND NOISE ANALYSIS(HELICOPTER ONLY)</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="STANDARD PRACTICES"></td>
                                                            <td class="col-2">20</td>
                                                            <td class="col"><label for="20">STANDARD PRACTICES</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="AIR CONDITIONING"></td>
                                                            <td class="col-2">21</td>
                                                            <td class="col"><label for="21">AIR CONDITIONING</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="AUTO FLIGHT"></td>
                                                            <td class="col-2">22</td>
                                                            <td class="col"><label for="22">AUTO FLIGHT</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="COMMUNICATIONS"></td>
                                                            <td class="col-2">23</td>
                                                            <td class="col"><label for="23">COMMUNICATIONS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ELECTRICAL POWER"></td>
                                                            <td class="col-2">24</td>
                                                            <td class="col"><label for="24">ELECTRICAL POWER</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="EQUIPMENT/FURNISHINGS"></td>
                                                            <td class="col-2">25</td>
                                                            <td class="col"><label for="25">EQUIPMENT/FURNISHINGS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="FIRE PROTECTION"></td>
                                                            <td class="col-2">26</td>
                                                            <td class="col"><label for="26">FIRE PROTECTION</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="FLIGHT CONTROLS"></td>
                                                            <td class="col-2">27</td>
                                                            <td class="col"><label for="27">FLIGHT CONTROLS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="FUEL"></td>
                                                            <td class="col-2">28</td>
                                                            <td class="col"><label for="28">FUEL</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="HYDRAULIC POWER"></td>
                                                            <td class="col-2">29</td>
                                                            <td class="col"><label for="29">HYDRAULIC POWER</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ICE AND RAIN PROTECTION"></td>
                                                            <td class="col-2">30</td>
                                                            <td class="col"><label for="30">ICE AND RAIN PROTECTION</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="INDICATING/RECORDING SYSTEM"></td>
                                                            <td class="col-2">31</td>
                                                            <td class="col"><label for="31">INDICATING/RECORDING SYSTEM</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="LANDING GEAR"></td>
                                                            <td class="col-2">32</td>
                                                            <td class="col"><label for="32">LANDING GEAR</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="LIGHTS"></td>
                                                            <td class="col-2">33</td>
                                                            <td class="col"><label for="33">LIGHTS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="NAVIGATION"></td>
                                                            <td class="col-2">34</td>
                                                            <td class="col"><label for="34">NAVIGATION</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="OXYGEN"></td>
                                                            <td class="col-2">35</td>
                                                            <td class="col"><label for="35">OXYGEN</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="PNEUMATIC"></td>
                                                            <td class="col-2">36</td>
                                                            <td class="col"><label for="36">PNEUMATIC</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="VACUUM"></td>
                                                            <td class="col-2">37</td>
                                                            <td class="col"><label for="37">VACUUM</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="WATER/WASTE"></td>
                                                            <td class="col-2">38</td>
                                                            <td class="col"><label for="38">WATER/WASTE</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ELECTRONIC PANELS"></td>
                                                            <td class="col-2">39</td>
                                                            <td class="col"><label for="39">ELECTRONIC PANELS</label></td>
                                                        </tr>

                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="CENTRAL MAINTENANCE SYSTEM"></td>
                                                            <td class="col-2">45</td>
                                                            <td class="col"><label for="45">CENTRAL MAINTENANCE SYSTEM</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="INFORMATION SYSTEMS"></td>
                                                            <td class="col-2">46</td>
                                                            <td class="col"><label for="46">INFORMATION SYSTEMS</label></td>
                                                        </tr>
                                                         <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="AIRBORNE AUXILIARY POWER"></td>
                                                            <td class="col-2">49</td>
                                                            <td class="col"><label for="49">AIRBORNE AUXILIARY POWER</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="STRUCTURES&STANDARD PRACTICES"></td>
                                                            <td class="col-2">51</td>
                                                            <td class="col"><label for="51">STRUCTURES&STANDARD PRACTICES</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="DOORS"></td>
                                                            <td class="col-2">52</td>
                                                            <td class="col"><label for="52">DOORS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="FUSELAGE"></td>
                                                            <td class="col-2">53</td>
                                                            <td class="col"><label for="53">FUSELAGE</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="NACELLES/PYLONS"></td>
                                                            <td class="col-2">54</td>
                                                            <td class="col"><label for="54">NACELLES/PYLONS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="STABILIZERS"></td>
                                                            <td class="col-2">55</td>
                                                            <td class="col"><label for="55">STABILIZERS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="WINDOWS"></td>
                                                            <td class="col-2">56</td>
                                                            <td class="col"><label for="56">WINDOWS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="WINGS"></td>
                                                            <td class="col-2">57</td>
                                                            <td class="col"><label for="57">WINGS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="PROPELLERS/PROPULSORS"></td>
                                                            <td class="col-2">61</td>
                                                            <td class="col"><label for="61">PROPELLERS/PROPULSORS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="MAIN ROTOR(S)"></td>
                                                            <td class="col-2">62</td>
                                                            <td class="col"><label for="62">MAIN ROTOR(S)</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="MAIN ROTOR DRIVE(S)"></td>
                                                            <td class="col-2">63</td>
                                                            <td class="col"><label for="63">MAIN ROTOR DRIVE(S)</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="TAIL ROTOR(S)"></td>
                                                            <td class="col-2">64</td>
                                                            <td class="col"><label for="64">TAIL ROTOR(S)</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="TAIL ROTOR DRIVE"></td>
                                                            <td class="col-2">65</td>
                                                            <td class="col"><label for="65">TAIL ROTOR DRIVE</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ROTOR BLADE AND TAIL PYLON FOLDING"></td>
                                                            <td class="col-2">66</td>
                                                            <td class="col"><label for="66">ROTOR BLADE AND TAIL PYLON FOLDING</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ROTORS FLIGHT CONTROL"></td>
                                                            <td class="col-2">67</td>
                                                            <td class="col"><label for="67">ROTORS FLIGHT CONTROL</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="POWER PLANT"></td>
                                                            <td class="col-2">71</td>
                                                            <td class="col"><label for="71">POWER PLANT</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ENGINE - TURBINE / TURBOPROP"></td>
                                                            <td class="col-2">72</td>
                                                            <td class="col"><label for="72">ENGINE - TURBINE / TURBOPROP</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ENGINE - FUEL AND CONTROL"></td>
                                                            <td class="col-2">73</td>
                                                            <td class="col"><label for="73">ENGINE - FUEL AND CONTROL</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="IGNITION"></td>
                                                            <td class="col-2">74</td>
                                                            <td class="col"><label for="74">IGNITION</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="BLEED AIR"></td>
                                                            <td class="col-2">75</td>
                                                            <td class="col"><label for="75">BLEED AIR</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ENGINE CONTROLS"></td>
                                                            <td class="col-2">76</td>
                                                            <td class="col"><label for="76">ENGINE CONTROLS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ENGINE INDICATING"></td>
                                                            <td class="col-2">77</td>
                                                            <td class="col"><label for="77">ENGINE INDICATING</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="EXHAUST"></td>
                                                            <td class="col-2">78</td>
                                                            <td class="col"><label for="78">EXHAUST</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="OIL"></td>
                                                            <td class="col-2">79</td>
                                                            <td class="col"><label for="79">OIL</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="STARTING"></td>
                                                            <td class="col-2">80</td>
                                                            <td class="col"><label for="80">STARTING</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="TURBINES"></td>
                                                            <td class="col-2">81</td>
                                                            <td class="col"><label for="81">TURBINES</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="WATER INJECTION"></td>
                                                            <td class="col-2">82</td>
                                                            <td class="col"><label for="82">WATER INJECTION</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ACCESSORY GEAR BOXES"></td>
                                                            <td class="col-2">83</td>
                                                            <td class="col"><label for="83">ACCESSORY GEAR BOXES</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="PROPULSION AUGMENTATION"></td>
                                                            <td class="col-2">84</td>
                                                            <td class="col"><label for="84">PROPULSION AUGMENTATION</label></td>
                                                        </tr>
      
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="CHARTS"></td>
                                                            <td class="col-2">91</td>
                                                            <td class="col"><label for="91">CHARTS</label></td>
                                                        </tr>
                                                        <tr class="row">
                                                            <td class="col-2"><input type="checkbox" onclick="chapter(this);"  value="ELECTRICAL/EQUIPMENT INSTALLATION"></td>
                                                            <td class="col-2">92</td>
                                                            <td class="col"><label for="92">ELECTRICAL/EQUIPMENT INSTALLATION</label></td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                            <div class="modal-footer">
                                                <p>Select 5 items at most. If there are more than one, please select them in order of importance!</p>
                                                <button type="button" class="btn btn-primary confirm" data-dismiss="modal">Close</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>Flight Type<span class="red">*</span></td>
                            <td colspan="3">
                                <select required id="flight_category" class="custom-select" data-toggle="tooltip" data-placement="bottom">
                                    <option value="">Choose...</option>
                                    <option value="GENERAL GOMMERCIAL FLIGHT">GENERAL GOMMERCIAL FLIGHT</option>
                                    <option value="EXTERNAL LOAD">EXTERNAL LOAD</option>
                                    <option value="TRAINING">TRAINING</option>
                                    <option value="AIR TRAVEL">AIR TRAVEL</option>
                                    <option value="AGRICULTURE">AGRICULTURE</option>
                                    <option value="OTHER">OTHER</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td style="font-size:.7rem">The name of Specific Part <br>or Structure Causing Difficulty<span class="red">*</span></td>
                            <td colspan="3">
                                <input type="text" required id="name_faulty_part" class="form-control" data-toggle="tooltip" data-placement="bottom">
                            </td>
                        </tr>
                        <tr>
                            <td>Precautionary Procedure<span class="red">*</span></td>
                            <td colspan="3">
                            <input type="text" required class="form-control" data-toggle="modal" data-target="#exampleModalLong" id="view1">
                                
                                <!-- Modal -->
                                <div class="modal fade" id="exampleModalLong" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
                                  <div class="modal-dialog modal-dialog-scrollable" role="document">
                                    <div class="modal-content">
                                      <div class="modal-header">
                                        <h5 class="modal-title" id="exampleModalLongTitle">Choice</h5>
                                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                          <span aria-hidden="true">&times;</span>
                                        </button>
                                      </div>
                                      <div class="modal-body">
                                        <table class="table table-striped">
                                            <thead>
                                                <tr class="row">
                                                    <td class="col-2">set</td>
                                                    <td class="col-2">code</td>
                                                    <td class="col">name</td>
                                                </tr>
                                            </thead>
                                            <tbody id="xzk1" onclick="addtext('view1','xzk1');">
                                                
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="UNSCHED LANDING"></td>
                                                        <td class="col-2">1</td>
                                                        <td class="col"><label for="05">UNSCHED LANDING</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="EMER.DESCENT"></td>
                                                        <td class="col-2">2</td>
                                                        <td class="col"><label for="05">EMER.DESCENT</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="ABORTED TAKEOFF"></td>
                                                        <td class="col-2">3</td>
                                                        <td class="col"><label for="05">ABORTED TAKEOFF</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="RETURN TO BLOCK"></td>
                                                        <td class="col-2">4</td>
                                                        <td class="col"><label for="05">RETURN TO BLOCK</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="ENGINE SHUTDOWN"></td>
                                                        <td class="col-2">5</td>
                                                        <td class="col"><label for="05">ENGINE SHUTDOWN</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="ACTIVATE FIRE EXT"></td>
                                                        <td class="col-2">6</td>
                                                        <td class="col"><label for="05">ACTIVATE FIRE EXT</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="O2 MASK DEPLOYED"></td>
                                                        <td class="col-2">7</td>
                                                        <td class="col"><label for="05">O2 MASK DEPLOYED</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="DEACTIVATE STST/CIRCUITS"></td>
                                                        <td class="col-2">8</td>
                                                        <td class="col"><label for="05">DEACTIVATE STST/CIRCUITS</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="CABIN DEPRESSURIZATION"></td>
                                                        <td class="col-2">9</td>
                                                        <td class="col"><label for="05">CABIN DEPRESSURIZATION</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="DUMP FUEL"></td>
                                                        <td class="col-2">10</td>
                                                        <td class="col"><label for="05">DUMP FUEL</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="NONE"></td>
                                                        <td class="col-2">11</td>
                                                        <td class="col"><label for="05">NONE</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="ABORTED APPROACH"></td>
                                                        <td class="col-2">12</td>
                                                        <td class="col"><label for="05">ABORTED APPROACH</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="OTHER"></td>
                                                        <td class="col-2">13</td>
                                                        <td class="col"><label for="05">OTHER</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="AUTOROTATION"></td>
                                                        <td class="col-2">14</td>
                                                        <td class="col"><label for="05">AUTOROTATION</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="UNKNOWN"></td>
                                                        <td class="col-2">15</td>
                                                        <td class="col"><label for="05">UNKNOWN</label></td>
                                                    </tr>


                                            </tbody>
                                        </table>
                                      </div>
                                      <div class="modal-footer">
                                        <button type="button" class="btn btn-primary" data-dismiss="modal">OK</button>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                            
                            </td>
                        </tr>
                        <tr>
                            <td>Nature of Condition<span class="red">*</span></td>
                            <td colspan="3">

                                <input type="text" required class="form-control" data-toggle="modal" data-target="#exampleModalLong1" id="view2">
                                
                                <!-- Modal -->
                                <div class="modal fade" id="exampleModalLong1" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
                                  <div class="modal-dialog modal-dialog-scrollable" role="document">
                                    <div class="modal-content">
                                      <div class="modal-header">
                                        <h5 class="modal-title" id="exampleModalLongTitle">Choice</h5>
                                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                          <span aria-hidden="true">&times;</span>
                                        </button>
                                      </div>
                                      <div class="modal-body">
                                        <table class="table table-striped">
                                            <thead>
                                                <tr class="row">
                                                    <td class="col-2">set</td>
                                                    <td class="col-2">code</td>
                                                    <td class="col">name</td>
                                                </tr>
                                            </thead>
                                            <tbody id="xzk2" onclick="addtext('view2','xzk2');">
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="FLAME/FIRE"></td>
                                                        <td class="col-2">1</td>
                                                        <td class="col"><label for="05">FLAME/FIRE</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="SMOKE/FUMES/ODORS/SPARKS"></td>
                                                        <td class="col-2">2</td>
                                                        <td class="col"><label for="05">SMOKE/FUMES/ODORS/SPARKS</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="F.O.D."></td>
                                                        <td class="col-2">3</td>
                                                        <td class="col"><label for="05">F.O.D.</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="INFLIGHT SEPARATION"></td>
                                                        <td class="col-2">4</td>
                                                        <td class="col"><label for="05">INFLIGHT SEPARATION</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="VIBRETION/BUFFET"></td>
                                                        <td class="col-2">5</td>
                                                        <td class="col"><label for="05">VIBRETION/BUFFET</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="FLT CONT AFFECTED"></td>
                                                        <td class="col-2">6</td>
                                                        <td class="col"><label for="05">FLT CONT AFFECTED</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="MULTIPLE FAILURE"></td>
                                                        <td class="col-2">7</td>
                                                        <td class="col"><label for="05">MULTIPLE FAILURE</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="ELECT POWER LOSS"></td>
                                                        <td class="col-2">8</td>
                                                        <td class="col"><label for="05">ELECT POWER LOSS</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="FLT.ATTITUDE INST."></td>
                                                        <td class="col-2">9</td>
                                                        <td class="col"><label for="05">FLT.ATTITUDE INST.</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="WARNING INDICATION"></td>
                                                        <td class="col-2">10</td>
                                                        <td class="col"><label for="05">WARNING INDICATION</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="FLUID LOSS"></td>
                                                        <td class="col-2">11</td>
                                                        <td class="col"><label for="05">FLUID LOSS</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="NO TEST"></td>
                                                        <td class="col-2">12</td>
                                                        <td class="col"><label for="05">NO TEST</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="OVER TEMP"></td>
                                                        <td class="col-2">13</td>
                                                        <td class="col"><label for="05">OVER TEMP</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="FALSE WARNING"></td>
                                                        <td class="col-2">14</td>
                                                        <td class="col"><label for="05">FALSE WARNING</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="OTHER"></td>
                                                        <td class="col-2">15</td>
                                                        <td class="col"><label for="05">OTHER</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="PARTIAL RPM/PWR LOSS"></td>
                                                        <td class="col-2">16</td>
                                                        <td class="col"><label for="05">PARTIAL RPM/PWR LOSS</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="RARTIAL RPM/PWR LOSS"></td>
                                                        <td class="col-2">17</td>
                                                        <td class="col"><label for="05">RARTIAL RPM/PWR LOSS</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="AFFECT SYSTEMS"></td>
                                                        <td class="col-2">18</td>
                                                        <td class="col"><label for="05">AFFECT SYSTEMS</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="ENGINE CASE PENETRATION"></td>
                                                        <td class="col-2">19</td>
                                                        <td class="col"><label for="05">ENGINE CASE PENETRATION</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="INADAEQUATE Q C"></td>
                                                        <td class="col-2">20</td>
                                                        <td class="col"><label for="05">INADAEQUATE Q C</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="ENGINE FLAMEOUT"></td>
                                                        <td class="col-2">21</td>
                                                        <td class="col"><label for="05">ENGINE FLAMEOUT</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="ENGINE STOPPAGE"></td>
                                                        <td class="col-2">22</td>
                                                        <td class="col"><label for="05">ENGINE STOPPAGE</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="SIGNIFICANT FAILURE REPORT"></td>
                                                        <td class="col-2">23</td>
                                                        <td class="col"><label for="05">SIGNIFICANT FAILURE REPORT</label></td>
                                                    </tr>
                                                    
                                                    <tr class="row">
                                                        <td class="col-2"><input type="checkbox" value="UNKNOWN"></td>
                                                        <td class="col-2">24</td>
                                                        <td class="col"><label for="05">UNKNOWN</label></td>
                                                    </tr>

                                            </tbody>
                                        </table>
                                      </div>
                                      <div class="modal-footer">
                                        <button type="button" class="btn btn-primary" data-dismiss="modal">OK</button>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                                
                            </td>
                        </tr>
                    </table>
                    <h4 class="title-bar">2.Problem Description and Corrective Action</h4>
                    <table class="table form2">
                        <tr>
                            <td>
                                <textarea oninput="txtnum(this,'zs');" required maxlength=800 name="" id="content" cols="30" rows="4" class="form-control" data-toggle="tooltip" data-placement="bottom" title="Enter the aircraft status, unusual phenomenon, emergency procedure taken by the flight crew when the difficulty occurred, and mainly problem discovered during ground check or test, trouble isolation process, reference data and replaced part. If aircraft or component structure damage/corrosion exists, detailed location, damaged area size, corrosion status/grade should be described"></textarea>
                                <span class="red">*</span>(a total of 800 words can be entered if <span id="zs" >0</span> words have been entered)
                            </td>
                        </tr>
                    </table>
                    <h4 class="title-bar">3.Submitter Information</h4>
                    <table class="table form2">
                        <tr>
                            <td>Submitter name<span class="red">*</span></td>
                            <td><input type="text" required id="submitter" class="form-control" data-toggle="tooltip" data-placement="bottom" title="The submitter of this report"></td>
                            <td>Email<span class="red">*</span></td>
                            <td><input type="text" required id="mail_box" class="form-control" data-toggle="tooltip" data-placement="bottom" title="Submitter’s email address"></td>
                            <td>Submitter Date<span class="red">*</span></td>
                            <td><input type="text" required id="date_submission" class="form-control" data-toggle="tooltip" data-placement="bottom" title="The date when this report is submitted. Formatted as yy/mm/dd"></td>
                        </tr>
                        <tr>
                            <td>Telephone<span class="red">*</span></td>
                            <td><input type="text" required id="phone" class="form-control" data-toggle="tooltip" data-placement="bottom" title="Submitter’s contact telephone number"></td>
                            <td>Company<span class="red">*</span></td>
                            <td><input type="text" required id="submission_unit" class="form-control" data-toggle="tooltip" data-placement="bottom"></td>
                            <td></td>
                            <td></td>
                        </tr>
                        
                    </table>
                           <div class="row text-center mb-4 mt-4">
                                <div class="col-6">
                                    <button type="submit" class="btn btn-primary">Submit</button>
                                </div>
                                <div class="col-6">
                                    <button type="reset" class="btn btn-warning">Clear Form</button>
                                </div>
                            </div>
                    </form>
                </div>
                    <div class="tab-pane fade" id="tab2">
                        <table class="table table-striped table-responsive">
                            <thead>
                                <tr>
                                    <td>No.</td>
                                    <td>Report No.</td>
                                    <td>Register No.</td>
                                    <td>Model</td>
                                    <td>ATA Chapter</td>
                                    <td>Difficulty Phenomenon</td>
                                    <td>Difficulty Place</td>
                                    <td>Difficulty Date</td>
                                    <td></td>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>1</td>
                                    <td>SDR20200001</td>
                                    <td>HK3433</td>
                                    <td>A737</td>
                                    <td>11111</td>
                                    <td>2222</td>
                                    <td>Beijing</td>
                                    <td>2020-03-20</td>
                                    <td>
                                        <a href="#"><i class="fas fa-edit"></i></a>
                                        <a href="#"><i class="fas fa-trash"></i></a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <nav aria-label="Page navigation" class="mt-4">
                            <ul class="pagination justify-content-center pagination-sm">
                                <li class="page-item disabled">
                                    <a class="page-link" href="#" aria-label="Previous">
                                        <span aria-hidden="true">&laquo;</span>
                                        <span class="sr-only">上一页</span>
                                    </a>
                                </li>
                                <li class="page-item active"><a class="page-link" href="#">1</a></li>
                                <li class="page-item"><a class="page-link" href="#">2</a></li>
                                <li class="page-item">
                                    <a class="page-link" href="#" aria-label="Next">
                                        <span aria-hidden="true">&raquo;</span>
                                        <span class="sr-only">下一页</span>
                                    </a>
                                </li>
                            </ul>
                        </nav>
                    </div>
                    <div class="tab-pane fade" id="tab3">
                        #SecurityInformationMfdrList(type='report_true',pageSize=1)
                        <table class="table table-striped table-responsive">
                            <thead>
                                <tr>
                                    <td>No.</td>
                                    <td>Report No.</td>
                                    <td>Register No.</td>
                                    <td>Difficulty Phenomenon</td>
                                    <td>Difficulty Place</td>
                                    <td>Difficulty Date</td>
                                    <td>Submitted Date</td>
                                </tr>
                            </thead>
                            <tbody>
                                #for(entity : SecurityInformationMfdrList.list)
                                <tr>
                                    <td>#(entity.id ??)</td>
                                    <td>#(entity.report_number ??)</td>
                                    <td>#(entity.aircraft_registration_number ??)</td>
                                    <td>#(entity.fault_phenomenon ??)</td>
                                    <td>#(entity.place_occurrence ??)</td>
                                    <td>#date(entity.date_occurrence,'yyyy-MM-dd' ??)</td>
                                    <td>#date(entity.date_submission,'yyyy-MM-dd' ??)</td>
                                </tr>
                                #end
                            </tbody>
                        </table>
                        
                        #SecurityInformationMfdrPaginate()
                        <nav aria-label="Page navigation example" class="mt-4">
                            <ul class="pagination justify-content-center ">
                                #for(page : pages)
                                <li class="page-item #(page.style ??)">
                                    <a class="page-link" href="#(page.url ??)?language=en&jmp=已上报">
                                        #if(page.text == "上一页")
                                        Previous page
                                        #elseif(page.text == "下一页")
                                        next page
                                        #else
                                        #(page.text)
                                        #end
                                    </a>
                                </li>
                                #end
                            </ul>
                        </nav>
                        #end
                        
                        #end
                        
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
#include("bottom.html")
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
    function addtext(id,dataid){
        
        var str = "";
        var checkboxs = $("#"+dataid+" input[type='checkbox']:checked");
        
        for(var a=0;a<checkboxs.length;a++){
            str += " | " + $(checkboxs[a]).val()
        }
        
        $("#"+id).val(str);
        
    }
</script>
<script>
layui.use('laydate', function(){
  var laydate = layui.laydate;
  
  //执行一个laydate实例
  laydate.render({
    elem: '#date_occurrence' //指定元素
    ,lang: 'en'
  });
  //执行一个laydate实例
  laydate.render({
    elem: '#date_submission' //指定元素
    ,lang: 'en'
  });
});
</script>
<script>
    
    #if(C.get('jmp'))
        $('##(C.get('jmp'))').click();
    #end
    
    function chapter(obj){
        
        var arr = new Array()
        arr[0] = $("#chapter1");
        arr[1] = $("#chapter2");
        arr[2] = $("#chapter3");
        arr[3] = $("#chapter4");
        arr[4] = $("#chapter5");
       
        
       if($(obj).is(':checked')){
           
            for(var a=0;a<arr.length;a++){
                if(arr[a].val()==""){
                     arr[a].val($(obj).val());
                     break;
                }
            }
           
       }else{
           
           for(var a=0;a<arr.length;a++){
                if(arr[a].val()==$(obj).val()){
                     arr[a].val("");
                     break;
                }
            }
            
            var checkboxs = $("#xzk input[type='checkbox']:not(:checked)")
        for(var a=0;a<checkboxs.length;a++){
            $(checkboxs[a]).attr('disabled', false);
        }
            
       }
       
       if(arr[0].val()!="" && arr[1].val()!="" && arr[2].val()!="" && arr[3].val()!="" && arr[4].val()!=""){
           
        var checkboxs = $("#xzk input[type='checkbox']:not(:checked)")
        for(var a=0;a<checkboxs.length;a++){
            $(checkboxs[a]).attr('disabled', true);
        }
           
       }
       
       
    }
    
    function submitdata(type) {
        
        var checkboxs = $("#xzk1 input[type='checkbox']:checked")
        
        if(checkboxs.length<1){
            alert("Precautionary Procedure Select at least one");
            return false;
        }
        
        var arr = new Array();
        
        for(var a=0;a<checkboxs.length;a++){
            arr[a]=$(checkboxs[a]).val();
        }
        
        var checkboxs1 = $("#xzk2 input[type='checkbox']:checked")
        if(checkboxs1.length<1){
            alert("Nature of Condition Select at least one");
            return false;
        }
        var arr1 = new Array();
        
        for(var a=0;a<checkboxs.length;a++){
            arr1[a]=$(checkboxs1[a]).val();
        }
        
        var url = "/securityinformationmfdr/submit";

        var data = {
            
            "mfdr.aircraft_registration_number":$("#aircraft_registration_number").val(),//航空器注册号
            "mfdr.air_operator":$("#air_operator").val(),//航空运营人
            "mfdr.report_number":$("#report_number").val(),//报告编号
            "mfdr.type_operation":$("#type_operation").val(),//运行种类
            "mfdr.flight_code":$("#flight_code").val(),//航班代码
            "mfdr.date_occurrence":$("#date_occurrence").val(),//发生日期
            "mfdr.occurrence_stage":$("#occurrence_stage").val(),//发生阶段
            "mfdr.place_occurrence":$("#place_occurrence").val(),//发生地点
            "mfdr.chapter":$("#chapter1").val()+","+$("#chapter2").val()+","+$("#chapter3").val()+","+$("#chapter4").val()+","+$("#chapter5").val(),//章节
            "mfdr.flight_category":$("#flight_category").val(),//飞行类别
            "mfdr.name_faulty_part":$("#name_faulty_part").val(),//故障件名称
            "pems":arr,//预防/紧急措施
            "fps":arr1,//故障现象
            //"mfdr.rules_regulations":$("#rules_regulations").val(),//规章依据
            "mfdr.content":$("#content").val(),//问题描述和纠正措施
            "mfdr.submitter":$("#submitter").val(),//提交人
            "mfdr.mail_box":$("#mail_box").val(),//电子邮箱
            "mfdr.date_submission":$("#date_submission").val(),//提交日期
            "mfdr.phone":$("#phone").val(),//电话
            "mfdr.submission_unit":$("#submission_unit").val(),//提交单位
            "mfdr.type":type,//提交状态
            "mfdr.language":"英文"
            
        }
        
        $.post(url,data,function(e){
    
            if(e.state == "ok"){
                alert("Submit successfully");
                window.location.reload();
            }else{
                alert(e.msg);
                
            }
    
        });
        
        return false;
        
    }

</script>
<script>

    function txtnum(t,id){
        var z = $(t).val();
        $('#'+id).html(z.length);
    }

</script>
<script>
	$(function () { $("[data-toggle='tooltip']").tooltip(); });
</script>
</body>
</html>